Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: use same version of setuptools when using system_packages #10287

Merged
merged 2 commits into from
May 3, 2023

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented May 3, 2023

The same version installed before needs to match here, otherwise for some reason pip gives you an error when installing some packages.

Fixes #10285

The same version installed before needs to match here.

Fixes #10285
@stsewd
Copy link
Member Author

stsewd commented May 3, 2023

Tested this locally, and it fixes the problem

Copy link
Contributor

@benjaoming benjaoming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like the right thing to do.

I'm guessing most projects don't have use_system_site_packages enabled. And those that do are likely now starting to see failures because version 58 is old (sept '21).

Did you try running builds for any of the projects mentioned in #8775 ?

@stsewd stsewd changed the title Build: use same version of setuptools when using system_pacakges Build: use same version of setuptools when using system_packages May 3, 2023
@stsewd
Copy link
Member Author

stsewd commented May 3, 2023

Did you try running builds for any of the projects mentioned in #8775 ?

Just did, all good

@Vital-Fernandez
Copy link

Tested this locally, and it fixes the problem

Sorry, could you share how you fixed it, please? I am having the same issue in my library .

I only have this issue on the platform, it compiles fine on my computer.

@benjaoming
Copy link
Contributor

benjaoming commented May 8, 2023

@Vital-Fernandez this change isn't released yet. Keep an eye out for the next release here: https://github.com/readthedocs/readthedocs.org/tags or here: https://docs.readthedocs.io/en/stable/changelog.html

@Vital-Fernandez
Copy link

@Vital-Fernandez this change isn't released yet. Keep an eye out for the next release here: https://github.com/readthedocs/readthedocs.org/tags or here: https://docs.readthedocs.io/en/stable/changelog.html

Thank you, I shall wait for the new version (I am glad to know it was not something I did, this time :)

stsewd added a commit that referenced this pull request May 9, 2023
…10287)

The same version installed before needs to match here.

Fixes #10285
stsewd added a commit that referenced this pull request May 9, 2023
…10287)

The same version installed before needs to match here.

Fixes #10285
@stsewd
Copy link
Member Author

stsewd commented May 9, 2023

@Vital-Fernandez this fix has been released. I just triggered a build for your project, but looks like it's failing for another reason https://readthedocs.org/projects/lime-stable/builds/20575086/.

@Vital-Fernandez
Copy link

@Vital-Fernandez this fix has been released. I just triggered a build for your project, but looks like it's failing for another reason https://readthedocs.org/projects/lime-stable/builds/20575086/.

Thank you very much!!!! It works great :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can not execute setup.py since setuptools is not available in the build environment
3 participants